package com.qfedu.scode.config;

/**
 * @program: StartCoding
 * @description:
 * @author: Feri(邢朋辉)
 * @create: 2021-01-06 14:57
 */
public class RedisKeyConfig {

    //短信验证码的key
    public static final String SMS_CODE="startcoding:sms:rcode:";//追加手机号
    public static final int SMS_CODE_TIMES=600;

    //存储令牌相关信息
    public static final String LOGIN_TOKEN="startcoding:user:tk:";//追加令牌
    public static final int LOGIN_TOKEN_TIMES=1800;
    public static final String LOGIN_PHONE="startcoding:user:ph:";//追加手机号
    //Hash类型 field:令牌 val:挤掉信息
    public static final String LOGIN_OUT="startcoding:user:ot";//记录挤掉的令牌信息


}
